﻿using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using FreeAgent.Mobile.Core;

namespace FreeAgent.Mobile.Tests
{
    [TestClass]
    public class FreeAgentProviderTests
    {
        [TestMethod]
        public void PublishExpense()
        {
            var publisher = new FreeAgentPublisherComponent();
            publisher.Publish(new FreeAgentCreateExpenseMessage());
        }

        [TestMethod]
        public void LoginOnInitialise()
        {
            var subscriber = new FreeAgentSubscriberComponent();
            subscriber.Initialise(new Dictionary<string, string>());
        }
    }
}
